<!doctype html>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Drawing App</title>
	<link rel="stylesheet" type="text/css" href="css/canvas_style.css">
	<script src="http://code.jquery.com/jquery-latest.js"></script>
	<script type="text/javascript" src="js/sketch.js"></script>
	
</head>

<body>
	<div id="SketchTools">
		<!-- Basic tools -->
		<a href="#SketchPad" data-color="#000000" title="Black"><img src="img/black_icon.png" alt="Black"/></a>
		<a href="#SketchPad" data-color="#00ff00" title="Green"><img src="img/green_icon.png" alt="Green"/></a>
		<a href="#SketchPad" data-color="#0000ff" title="Blue"><img src="img/blue_icon.png" alt="Blue"/></a>
		<a href="#SketchPad" data-color="#ffff00" title="Yellow"><img src="img/yellow_icon.png" alt="Yellow"/></a>
		<br/>
		<!-- Advanced colors -->
		<a href="#SketchPad" data-color="#e74c3c" title="Red"><img src="img/red_icon.png" alt="Alizarin"/></a>
		<a href="#SketchPad" data-color="#1abc9c" title="Torquoise"><img src="img/torquoise_icon.png" alt="Torquoise"/></a>
		<a href="#SketchPad" data-color="#9b59b6" title="Amethyst"><img src="img/amethyst_icon.png" alt="Amethyst"/></a>
		<a href="#SketchPad" data-color="#f39c12" title="Orange"><img src="img/orange_icon.png" alt="Orange"/></a>
		<br/>
		<a href="#SketchPad" data-color="#ffffff" title="Eraser"><img src="img/eraser_icon.png" alt="Eraser"/></a>
		<br/>
		<!-- Size options -->
		<a href="#SketchPad" data-size="1"><img src="img/pencil_icon.png" alt="Pencil"/></a>
		<a href="#SketchPad" data-size="15"><img src="img/mediumbrush_icon.png" alt="Medium brush"/></a>
		<a href="#SketchPad" data-size="30"><img src="img/bigbrush_icon.png" alt="Big brush"/></a>
		<br/>
		<a href="#SketchPad" data-download='png' id="DownloadPng">Save</a>
		<br/>
	</div>
	
	<canvas id="SketchPad" width="800" height="600"></canvas>

	<script type="text/javascript">
	  $(function() {
	    $('#SketchPad').sketch();
	  });
	</script>
        
</body>

</html>